package com.hyt.it.ogt.pj.feign.cloudefile;

import com.hyt.common.apiInfor.ApiResponse;
import com.hyt.common.utils.exception.RemoteRequestExcepton;
import com.hyt.model.cloudefile.apiparams.FileRecodeParam;

import org.springframework.stereotype.Component;

import lombok.extern.slf4j.Slf4j;

/**
 * feign客户端熔断器
 */
@Component
@Slf4j
public class RecordClientHystrix implements RecordClient {

    @Override
    public ApiResponse<Object> queryLastFileRecode(FileRecodeParam fileRecodeParam) {
        throw new RemoteRequestExcepton("无法获取导入记录信息！");
    }

    @Override
    public ApiResponse<Object> queryfileRecode(FileRecodeParam fileRecodeParam) {
        throw new RemoteRequestExcepton("无法获取导入记录信息！");
    }


}
